Repository navigation
Fix unaddressed review findings: bib, examples, wall-column validator and finalize, NVHPC probe - #2405
Conversation
…lumn validator and finalize, NVHPC probe
Lines of Code
|
|
Claude Code Review Head SHA: 3639520 Files changed:
Findings: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2405 +/- ##
=======================================
Coverage 66.14% 66.14%
=======================================
Files 112 112
Lines 31093 31095 +2
Branches 4749 4749
=======================================
+ Hits 20567 20569 +2
Misses 6675 6675
Partials 3851 3851 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contribution Policy
All contributions are expected to demonstrate:
If these expectations are not met, we would prefer to implement the changes ourselves rather than spend time reviewing low-effort submissions.
Summary
Fixes review findings from Claude Code Review on recently merged PRs that were not addressed before merge.
docs/references.bib:Maw1976lacked its closing brace (every entry now brace-balanced).examples/2D_thermal_channel/check_nu.py,examples/2D_ibm_cylinder_drag_nu/check_cylinder.py:np.trapezoidfell back tonp.trapzfor NumPy < 2;fields()exits with a clear message when there are no silo saves;check_nu.pychecks that eachq_cons_vf*.datis exactly one Fortran record (4-byte markers) of the given--dtypebefore reading withoffset=4.examples/2D_ibm_cylinder_drag_nu:case.pydocstring said--tstar 200for Re 100 where the README and validation page use 120; the--cflhelp now says it applies to the fixed step only (the adaptive step usescfl_target); the Re 40 Nu error against Lange is -1.2 % (3.243/3.281 - 1 = -1.16 %), fixed in the README andvalidation_cyl_drag_nu.md. No case output changes.wall_column_dt_frac = 0into 0.1 viaor 0.1and accepted it; it now rejects values outside (0, 1] (unit test added).s_finalize_ibm_moduleresetsn_wcandwc_readyso a second setup in one process re-initializes the columns (wc_slotis already freed at the end of setup, before the early return can matter). Withcfl_const_dtthe limit is evaluated once at step 0 from the initial column estimate and stays in the constant dt: this is conservative, not wrong, so it is documented incase.mdrather than prohibited.toolchain/mfc/test/test.py(Test: skip 124D7972 on NVHPC < 25.11 GPU builds (known difference, #2181) #2380): whenFC --versionnames no known compiler (a wrapper such asmpifortorftn), the NVHPC known-difference probe falls back tonvfortran --version; unit cases added.Not changed: the
GPU_UPDATEins_mpi_initialize(pre_process and post_process are not built with OpenACC/OpenMP, so the macro expands to nothing there) and theweno_Re_flux_compactgolden (tests/D3CF92B5exists on master).Fixes: none
Type of change
Testing
./mfc.sh precheckand./mfc.sh lint(984 toolchain tests) pass../mfc.sh test --only 48CC6F65 DF9526DB(both Wall Column cases) pass on a CPU build (GNU, Tuolumne), exercising them_ibm.fppchange.references.bibentry checked with a script.Checklist
This PR was made with Claude Code (AI).